package com.ssy.lingxi.platform.template.api.hystrix.inner;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.template.api.feign.inner.MemberPurchaseWebControllerFeign;
import com.ssy.lingxi.platform.template.api.model.dto.inner.MemberPurchaseInnerDTO;
import org.springframework.stereotype.Component;

import javax.validation.Valid;

/**
 * @author : lqa
 * @date : 14:21 25/03/2022
 */
@Component
public class MemberPurchaseWebInnerHystrix implements MemberPurchaseWebControllerFeign {
    @Override
    public Wrapper<Boolean> exitMemberPurchase(@Valid MemberPurchaseInnerDTO dto) {
        return Wrapper.failService("服务调用异常");
    }
}
